package com.iflytek.aisol.audit.iflytek.strategy.manage.entity;


import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.persistence.*;

import java.io.Serializable;

/**
 * CLassName: disLimitConfig
 * Description: channel配置表
 * Author: wuzhixiang
 * Date: 2024-12-28 13:53
 * Version: 1.0
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@Entity
@Table(name = "DisLimitConfig")
public class DisLimitConfig implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @Id
    @Column(name = "id")
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Long id;

    /**
     * 指定限流的channel
     */
    @Column(name = "channel_config_id")
    private Long channelConfigId;

    /**
     * 指定限流的appid
     */
    @Column(name = "app_id")
    private String appId;

    /**
     * 指定限流的qps
     */
    private Integer qps;
}
